<?php

class Curso{
	
	public $bd;
	public $resultado;

	
	public function __construct(){
		
		$this->bd = new Basedatos();
		
	}
		public function mostrar_curso(){
		
		$query = "CALL ConsultarTodosCurso()";
		$this->result = $this->bd->select($query);
		return $this->result;		
}
		public function nota_curso($curso, $asignatura){
			$query = "CALL ConsultarNotaCursoAsignatura($curso, $asignatura)";
			$this->result = $this->bd->select($query);
			return $this->result;		
	}
}
?>